package com.luyuan.crm.sms.service;

import java.util.List;

import org.hibernate.criterion.Order;

import com.luyuan.crm.sms.model.SmsLogModel;
import com.ruijie.foundation.annotation.DomainService;
import com.ruijie.foundation.query.Page;
import com.ruijie.foundation.query.criteria.CriteriaTemplate;
import com.ruijie.foundation.service.Repository;

@DomainService
public interface SmsLogService extends Repository<SmsLogModel> {

    /**
     * <p>Description: 清楚过期日志             </p>
     * <p>Create Time: 2013-4-27   </p>
     * @author Administrator
     */
    void clearLog();

    public void recordLog(SmsLogModel entity);

    /*
     * 分页查询
     */
    public Page pagedQuery(CriteriaTemplate criteria, int pageNo, int pageSize, List<Order> orders);

}
